<template>
  <div>
    <h2>用户页面</h2>
    <div> 我是{{ userId }}用户信息</div>
  </div>
</template>

<script>
export default {
  name: 'User',
  computed: {
    userId () {
      return this.$route.params.id
    }
  }
}
</script>

<style scoped>

</style>
